﻿function jalert(msg, onclose) {
    var html = "<div title='信息提示'>" + msg + "</div>";
    $(html).dialog({
        modal: true,
        close: onclose,
        buttons: {
            "确定": function () {
                $(this).dialog("close");
            }
        }
    });
}